package zero.tech.games.logic.common;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import zero.tech.core.util.StringHelper;

public abstract class GameBase {
	protected final ConcurrentHashMap<Integer,Long> readys=new ConcurrentHashMap<Integer, Long>();//准备数据
	protected final Map<Integer,Long> auto_deposit=new HashMap<>();//自动托管
	protected final String id = StringHelper.randUUID();
	protected final String room_id;
	public GameBase(String room_id) {	
		this.room_id=room_id;
	}


	public String getId() {
		return id;
	}


	public String getRoom_id() {
		return room_id;
	}


	public ConcurrentHashMap<Integer, Long> getReadys() {
		return readys;
	}


	public Map<Integer, Long> getAuto_deposit() {
		return auto_deposit;
	}
}
